POV-Ray : Newsgroups : povray.binaries.images : For lack of a ship : Re: For lack of a ship Server Time
5 Nov 2024 05:20:42 EST (-0500)
  Re: For lack of a ship  
From: Alain
Date: 29 Sep 2009 12:08:33
Message: <4ac23101$1@news.povray.org>

> Hi Kirk,
> 
> this really looks nice. Would you perhaps be inclined to post the source? 
> (Beg ;-)
> 
> I am looking for a working example scene-file how to place random objects on 
> a pov-scene or how to color the landscape-height field according to the 
> actual height.
Trace and acounting for the normal for the first.
For the second, use the slope pattern. It depend on the actual slope, 
but also, optionaly, on the altitude.
> 
> Up to now I have only modeled very simple objects - no landscapes with 
> plenty of objects that have to be placed randomly. 
> 
>

The trace function is perfect for placing an object on another. Then, 
you can use vorient() to orient the object acording to the local normal 
of your surface.


Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.